# Create your views here.
from django.shortcuts import render_to_response
from google.appengine.ext import db
from marketdata import models

def home(request):
    q = models.Mail.all().order('added_on').fetch(limit=40)
    return render_to_response('marketdata/index.html',{'mails':q})